﻿<%@ Page Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

<script type="text/javascript">
    $(document).ready(function () {
        $('#slider1').s3Slider({
            timeOut: 4000
        });
    });
</script>

</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="cphPagina" runat="server">
    <asp:Panel ID="Panel1" runat="server">        
        <div id="bannerPrincipal">
            <div id="slider1">
                            <ul id="slider1Content">
                                <asp:Literal ID="ftBanner" runat="server" Text=""></asp:Literal>
                                <div class="clear slider1Image"></div>
                            </ul>
               </div>
               <div id="bannerLateral">
                    <img src="Imagens/adSenseLateral.jpg" alt="" />
               </div>
                <div id="veiculosRepeater" >                   
                        <asp:Repeater ID="rptVeiculos" runat="server" onitemdatabound="rptVeiculos_ItemDataBound" >        
                            <ItemTemplate>
                            <div style=" width:330px; height:120px; float:left; " >
                                <div style="Float:left; vertical-align:middle;">
                                    <asp:ImageButton ID="imgAutomovel" ImageUrl="Imagens/noPhoto.png" Width="100px" runat="server"  BorderColor="#d4d0c8" BorderWidth="4"/>
                                </div>
                                <div style="Float:left;">
                                    <asp:Literal ID="ltTitulo" Text="Titulo" runat="server" ></asp:Literal> 
                                </div>            
                                <div style="Float:left;">
                                    <br />
                                    <asp:Literal ID="ltTexto" Text="Texto texto texto texto" runat="server" ></asp:Literal>
                                </div>
                            </div>
                            </ItemTemplate>
                            <FooterTemplate>
                                </table>
                            </FooterTemplate>
                        </asp:Repeater>
                    </div>
                    <div id="filtro">
                    <p>
                        <a href="garagem.aspx">Ver todas as garagens</a>
                    </p>
                       <p>
                         <label>Marca </label><br />
                         <asp:DropDownList CssClass="campo" runat="server" ID ="dropMarca"  AutoPostBack="True" onselectedindexchanged="dropMarca_SelectedIndexChanged" Width="170px"></asp:DropDownList>
                       </p>
                       <p>
                            <label>Modelo:</label><br />
                            <asp:DropDownList runat="server" CssClass="campo" ID ="dropModelo" 
                                Width="170px" AutoPostBack="True"></asp:DropDownList>
                       </p>
                       <p>
                       <br />
                         <asp:Button runat="server" ID="btnBuscar" Text="Buscar" onclick="btnBuscar_Click" />
                        </p>
                    </div>
        </div>
    </asp:Panel>

</asp:Content>
